@import '../../../core/index.less';

.orin-s-confirmdialog-root {
    padding: 0;
    margin: 0;
    .confirm-mask {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 99;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        .confirm-wrapper {
            background: @white;
            .boxShadow();
            width: 400/@remScale;
            @media screen and (max-width: @max1) {
                width: 90%;
            }
            margin: auto;
            border-radius: 4/@remScale;
            overflow: hidden;
            .confirm-header {
                width: 100%;
                background: @white;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 20/@remScale;
                font-size: 18/@remScale;
                height: 50/@remScale;
                p {
                    .dialog-header-p();
                }

                span {
                    .dialog-header-span();
                }
            }
            .confirm-content {
                padding: 20/@remScale;
                display: flex;
                .icon-wrapper {
                    flex: 0 0 20/@remScale;
                    display: flex;
                    margin-right: 14/@remScale;
                    color: #F3AC1E;
                    .icon {
                        width: 20/@remScale;
                        height: 20/@remScale;
                        margin: 0;
                    }
                }
                .tips-wrapper {

                    .tips {
                        font-size: 16/@remScale;
                        color: @black-six;
                    }
                    .sub-tips {
                        font-size: 14/@remScale;
                        color: @black-auxiliary;
                        margin-top: 10/@remScale;
                    }
                }
            }
            .confirm-footer {
                display: flex;
                padding: 20/@remScale;
                justify-content: flex-end;
                .cancel {
                    width: auto;
                    padding: 0 20/@remScale;
                    height: 40/@remScale;
                    border-radius: 4/@remScale;
                    margin-right: 16/@remScale;
                    background: @white;
                    color: #60666C;
                    border: 1/@remScale solid #dddddd;
                    &:hover {
                        border-color: @light-blue-color;
                        color: @light-blue-color;
                    }
                    @media screen and (max-width: @max1) {
                        width: 30%;
                        padding: 0;
                        &:hover {
                            border-color: #dddddd;
                            color: #60666C;
                        }
                    }
                }
                .confirm {
                    width: auto;
                    padding: 0 20/@remScale;
                    height: 40/@remScale;
                    border-radius: 4/@remScale;
                    background: @light-blue-color;
                    @media screen and (max-width: @max1) {
                        padding: 0;
                        width: 30%;
                    }
                }
            }
        }
    }
}